RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TriggerReadWriteRow.SetBytes Method (int, byte[], int)

Sets the byte[] value of a given column.

Pascal
function SetBytes(columnName: string; value: byte[]; length: Integer): void;
function SetBytes(ordinal: Integer; value: byte[]; length: Integer): void;
C++
void SetBytes(string columnName, byte[] value, int length);
void SetBytes(int ordinal, byte[] value, int length);

SetBytes has several forms, depending on the input parameters:

  • Sets the byte[] value of a given column. The parameter columnName is the name of the column containing the value to be changed. The parameter value is the new value as a byte[]. The parameter length is the length of the byte[].
  • Sets the byte[] value of a given column. The parameter ordinal is the ordinal of the column containing the value to be changed. The parameter value is the new value as a byte[]. The parameter length is the length of the byte[].

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!